import util from '@/components/util.js'
var permission = util.getStorage('userPer')
export function getPermission (id) {
  if (permission.length !== util.getStorage('userPer').length) { permission = util.getStorage('userPer') }
  return permission.includes(id)
}
